package com.ecr.hub.service.data.input;

import java.util.List;

import org.richfaces.event.FileUploadEvent;

import com.ecr.hub.ApplicationException;
import com.ecr.hub.model.HubInputData;
import com.ecr.hub.model.composition.Composition;
import com.ecr.hub.model.enumeration.HubDataInputStatus;
import com.ecr.hub.model.enumeration.HubTypeFile;
import com.ecr.hub.model.sillon.Sillon;

public interface IInputDataManager {

	public void update(HubInputData inputData) throws ApplicationException;

	public List<HubInputData> findByStatus(HubDataInputStatus dataStatus)
			throws ApplicationException;

	public List<HubInputData> getListAll() throws ApplicationException;

	public void delete(HubInputData inputData) throws ApplicationException;

	public void uploadFile(FileUploadEvent event, HubTypeFile typeFile)
			throws ApplicationException;

	public void integrateSillons(List<Sillon> lstSillons)
			throws ApplicationException;

	public void integrateCompositions(List<Composition> lstCompositions,
			String tcmsTrainId) throws ApplicationException;
}
